public final class TagAttributesImpl extends TagAttributes
Constructor and Description |
---|
TagAttributesImpl(TagAttribute[] attributes) |
Modifier and Type | Method and Description |
---|---|
TagAttribute |
get(String localName)
Using no namespace, find the TagAttribute
See #get(String, String)
|
TagAttribute |
get(String ns,
String localName)
Find a TagAttribute that matches the passed namespace and local name.
|
TagAttribute[] |
getAll()
Return an array of all TagAttributes in this set
|
TagAttribute[] |
getAll(String namespace)
Get all TagAttributes for the passed namespace
|
String[] |
getNamespaces()
A list of Namespaces found in this set
|
String |
toString() |
getTag, setTag
public TagAttributesImpl(TagAttribute[] attributes)
public TagAttribute[] getAll()
getAll
in class TagAttributes
public TagAttribute get(String localName)
get
in class TagAttributes
localName
- tag attribute namepublic TagAttribute get(String ns, String localName)
get
in class TagAttributes
ns
- namespace of the desired attributelocalName
- local name of the attributepublic TagAttribute[] getAll(String namespace)
getAll
in class TagAttributes
namespace
- namespace to searchpublic String[] getNamespaces()
getNamespaces
in class TagAttributes
Copyright © 2020 The Apache Software Foundation. All rights reserved.