インタフェース
javax.xml.stream.events.Attributeの使用
-
Attributeを使用するパッケージ パッケージ 説明 javax.xml.stream Streaming API for XML (StAX)のインタフェースとクラスを定義します。javax.xml.stream.events Streaming API for XML (StAX)のイベント・インタフェースを定義します。 -
-
javax.xml.streamでのAttributeの使用
Attributeを返すjavax.xml.stream内のメソッド 修飾子と型 メソッド 説明 abstract AttributeXMLEventFactory. createAttribute(String localName, String value)新しいAttributeを作成します。abstract AttributeXMLEventFactory. createAttribute(String prefix, String namespaceURI, String localName, String value)新しいAttributeを作成します。abstract AttributeXMLEventFactory. createAttribute(QName name, String value)新しいAttributeを作成します。型Attributeの型引数を持つjavax.xml.streamのメソッド・パラメータ 修飾子と型 メソッド 説明 abstract StartElementXMLEventFactory. createStartElement(String prefix, String namespaceUri, String localName, Iterator<? extends Attribute> attributes, Iterator<? extends Namespace> namespaces)新しいStartElementを作成します。abstract StartElementXMLEventFactory. createStartElement(String prefix, String namespaceUri, String localName, Iterator<? extends Attribute> attributes, Iterator<? extends Namespace> namespaces, NamespaceContext context)新しいStartElementを作成します。abstract StartElementXMLEventFactory. createStartElement(QName name, Iterator<? extends Attribute> attributes, Iterator<? extends Namespace> namespaces)新しいStartElementを作成します。 -
javax.xml.stream.eventsでのAttributeの使用
javax.xml.stream.events内のAttributeのサブインタフェース 修飾子と型 インタフェース 説明 interfaceNamespace名前空間に関する情報を含むインタフェースです。Attributeを返すjavax.xml.stream.events内のメソッド 修飾子と型 メソッド 説明 AttributeStartElement. getAttributeByName(QName name)この名前によって参照される属性を返します。型Attributeの引数を持つ型を返すjavax.xml.stream.eventsのメソッド 修飾子と型 メソッド 説明 Iterator<Attribute>StartElement. getAttributes()このSTART_ELEMENTで宣言された非名前空間宣言属性のIteratorを返します。属性がない場合は空のイテレータを返します。
-